package com.sc.es.repo;

import com.sc.es.entity.User;
import org.springframework.data.repository.CrudRepository;

/**
 * @author sc
 * Created on  2018/2/6
 */
public interface UserRepository extends CrudRepository<User,Integer>{

    User findByName(String userName);
}
